<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-06-17 13:48:46
 * @LastEditTime: 2019-09-01 06:48:46
 * @LastEditors: Please set LastEditors
 -->
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  <meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1' />
  <Meta http-equiv="Widow-target" Content="_top">
  <meta name="renderer" content="webkit">
  <meta name="description" content="" />
  <meta name="keywords" content="" />
  <!-- <link href="/static/images/favicon.ico" type="image/x-icon" rel="shortcut icon" /> -->
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
  <!--//IE的文档模式永远都是最新的-->
  <title></title>
  <style>
    html {
      font-size: 100px !important;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
  </style>
  <script>
    var deviceWidth
    setHtmlFontSize()

    if (window.addEventListener) {
      window.addEventListener('resize', function () {
        setHtmlFontSize()
      }, false)
    }
    function setHtmlFontSize() {
      var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
      if (isMobile) {
        /* your code here */
          var docEl = document.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
              var clientWidth = docEl.clientWidth;
              if (!clientWidth) return;
              if (clientWidth >= 640) {
                docEl.style.fontSize = '100px';
              } else {
                docEl.style.fontSize = 100 * (clientWidth / 640) + 'px';
              }
            };

          if (!document.addEventListener) return;
          window.addEventListener(resizeEvt, recalc, false);
          document.addEventListener('DOMContentLoaded', recalc, false);
      } else {
        deviceWidth = document.documentElement.clientWidth > 1920 ? 1920 : document.documentElement.clientWidth
        document.getElementsByTagName('html')[0].style.cssText = 'font-size:' + deviceWidth / 19.2 + 'px !important'


      }
      // 1366是设计稿的宽度，当大于1366时采用1366宽度，比例也是除以13.66
    }
  </script>
</head>

<body>

  <div id="app"></div>
  <!-- built files will be auto injected -->



</body>

</html>